package service.serviceImpl;

import entity.BannerEntity;

import java.util.List;


public interface BannerService {
    /**
     * 根据Id查询
     * @param bannerEntity
     * @return
     */
    BannerEntity getBannerById (BannerEntity bannerEntity);

    /**
     * 查询banner
     * @return
     */
    List<BannerEntity> getBanner (BannerEntity bannerEntity);

    /**
     * 修改banner
     * @param bannerEntity
     */
    void editBanner(BannerEntity bannerEntity);

    /**
     * 添加banner
     * @param bannerEntity
     */
    void addBanner(BannerEntity bannerEntity);
}
